From d8f1b0de4a122704eea8b730ebc344fbfe733088 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 27 Jun 2005 18:36:02 +0000 Subject: [PATCH] Add 'usbfree' target. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index df34c7c36..5ac6fbb78 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,15 @@ OBJS = main.o $(LIBOBJS) all: gpsbabel +# +# Alternate makefile target for the case when you have no libusb and no +# need for Garmin/USB (60, 76C, VistaC, Quest, etc.) support. +# +usbfree: + make LIBUSB= INHIBIT_USB=-DNO_USB + + + gpsbabel: $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o gpsbabel $(LIBEXPAT) $(LIBUSB) -lm -- 2.30.2